#include "fuck_core.h"
#include "fuck_thread.h"
#include "fuck_macro.h"

namespace fuckm
{

fuck_core::fuck_core()
{

}

fuck_core::~fuck_core()
{

}

void * fuck_core::fuck_malloc( size_t size )
{
	fuck_thread * pthread = get_thread();
	ASSERT(pthread != 0);
	return pthread->fuck_malloc(size);
}

void fuck_core::fuck_free( void * p )
{
	fuck_thread * pthread = get_thread();
	ASSERT(pthread != 0);
	pthread->fuck_free(p);
}

fuck_thread * fuck_core::get_thread()
{
	return 0;
}


}

